package org.abacus.client.ui.control.widgets;

import org.abacus.client.ui.access.AbstractAccessData;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Decorations;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import org.eclipse.swt.widgets.Widget;


public class LMenu extends AbstractAccessData {
	final Menu control;

	public LMenu(Widget parent, int style) {
		this((Decorations) parent, style);
	}

	public LMenu(Menu parent) {
		super();
		this.control = new Menu(parent);
	}

	public LMenu(Decorations parent, int sytle) {
		super();
		this.control = new Menu(parent, sytle);
	}

	public LMenu(MenuItem menuItem) {
		super();
		this.control = new Menu(menuItem);
	}

	public Control getControl() {
		return control.getParent();
	}

	@Override
	public String getValue() {
		return null;
	}

	@Override
	public void setValue(String value) {
	}
}
